package com.ruoyi.cat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 广告访问ip对象 ad_iprecord
 * 
 * @author ruoyi
 * @date 2025-05-13
 */
public class AdIprecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** ip值 */
    @Excel(name = "ip值")
    private String ipValue;

    /** 地区值 */
    @Excel(name = "地区值")
    private String areaValue;

    /** 文章任务id */
    @Excel(name = "文章任务id")
    private Long articleId;

    /** 访问量 */
    @Excel(name = "访问量")
    private Long pv;

    private Date dayDate;

    public Date getDayDate() {
        return dayDate;
    }

    public void setDayDate(Date dayDate) {
        this.dayDate = dayDate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIpValue(String ipValue) 
    {
        this.ipValue = ipValue;
    }

    public String getIpValue() 
    {
        return ipValue;
    }
    public void setAreaValue(String areaValue) 
    {
        this.areaValue = areaValue;
    }

    public String getAreaValue() 
    {
        return areaValue;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setPv(Long pv) 
    {
        this.pv = pv;
    }

    public Long getPv() 
    {
        return pv;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ipValue", getIpValue())
            .append("areaValue", getAreaValue())
            .append("articleId", getArticleId())
            .append("createTime", getCreateTime())
            .append("pv", getPv())
            .toString();
    }
}
